package com.xjgzinfo.usdp.constant;

public class AuthConstant {
    public static final String ADMIN = "ROLE_ADMIN";
    public static final String USER = "ROLE_USER";
    public static final String ANONYMOUS = "ROLE_ANONYMOUS";
    public static final String AUTHORITY_PREFIX = "ROLE_";
    public static final String AUTHORITY_CLAIM = "authorities";
    public static final String USERNAME_CLAIM = "user_name";
    public static final String USERID_CLAIM = "user_id";
    public static final String TENTANT_CLAIM = "tenant_id";
    public static final String CLIENTID_CLAIM = "client_id";
    public static final String CACHE_AUTH_TOPIC = "authorities";
    public static final String CACHE_TOKEN_TOPIC = "tokens";
    public static final String CACHE_COUNT_TOPIC = "counts";
    public static final String CACHE_SEPARATOR = ",";
    public static final String GW_TOKEN_TOPIC = "gw_tokens";
    public static final String GW_COUNT_TOPIC = "gw_counts";
    public static final String CACHE_AUTH_REGION = "authorities";
    public static final String CACHE_ROLE_REGION = "roles";
    public static final String CACHE_GW_TOKEN_REGION = "gw_token_region";
    public static final String CACHE_GW_COUNT_REGION = "gw_count_region";
    public static final String CACHE_BLACK_TOKEN_REGION = "black_tokens";
    public static final String CACHE_WHITE_TOKEN_REGION = "white_tokens";

    public AuthConstant() {
    }
}
